chore: add zizmor GitHub Actions security workflow#518
Merged
jkowalleck merged 6 commits intomainfrom May 6, 2026
Merged
Conversation
Up to standards ✅🟢 Issues
|
Agent-Logs-Url: https://github.com/CycloneDX/cyclonedx-node-yarn/sessions/1e8571f1-a06d-4aca-a1f8-c20eeae239bb Co-authored-by: jkowalleck <2765863+jkowalleck@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Zizmor to harden all GitHub workflows
chore: add zizmor GitHub Actions security workflow
May 5, 2026
jkowalleck
requested changes
May 5, 2026
Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com> Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Member
|
zizmor has some fingsind @copilot fix the findings from zizmor |
Agent-Logs-Url: https://github.com/CycloneDX/cyclonedx-node-yarn/sessions/7ead9f7c-d6d7-4111-8aa2-0564b8e1d73d Co-authored-by: jkowalleck <2765863+jkowalleck@users.noreply.github.com>
Contributor
Author
... Fixed in 3ebad30. Changes across
|
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Member
|
@copilot the pr description does not follow the pullrequest template. fix this |
jkowalleck
reviewed
May 5, 2026
| R_PRERELEASE: ${{ github.event.inputs.prerelease }} | ||
| R_TITLE: ${{ needs.bump.outputs.version_plain }} | ||
| R_VERSION: ${{ needs.bump.outputs.version }} | ||
| run: | |
Contributor
Author
Updated the PR description to follow the template with the required |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
.github/workflows/zizmor.ymlto continuously audit all workflows in.github/workflows/**for security issues usingzizmor.Workflow behaviour
pull_request(path-filtered to.github/workflows/**): runs on every PR touching workflow files; job fails on any findings, blocking mergepush(path-filtered to.github/workflows/**): runs on every push touching workflow filesschedule: weekly full scan every Saturday 00:00 UTC regardless of changesImplementation details
advanced-security: false— emits findings as workflow-command annotations (::error file=…) rather than uploading a SARIF report to GitHub's Security tab; produces a non-zero exit on findings (blocking). Uploading SARIF would requiresecurity-events: writeand GitHub Advanced Security (GHAS), both of which are unnecessary here and would violate the least-privilege policy. The two modes are mutually exclusive:advanced-securitymust befalseforannotationsto take effect.annotations: true— surfaces findings as GitHub PR annotations (up to 10 rendered inline; remainder in job log)persist-credentials: falseon checkoutpermissions: {}at workflow level,contents: readat job level onlytimeout-minutes: 10Also fixes all zizmor findings in the existing
nodejs.ymlandrelease.ymlworkflows:persist-credentials: falseto all checkout stepsactions/setup-nodeSHA to current v6 tag (48b55a011bda)DerLev/eslint-annotationsimpostor SHA → correct v2 SHA (a79ea65c1b45)softprops/action-gh-releasewithgh releaseCLI commandsResolves or fixes issue: none
AI Tool Disclosure
GitHub CopilotClaude Sonnet 4.5Create a zizmor GitHub Actions security workflow per the issue specAffirmation